import { createApp } from 'vue'
import pinia from '@/stores/index.js'
import App from './App.vue'
import router from './router'
import './styles/index.scss'
import { useREM } from './utils/flexible'
import useTheme from './utils/theme'
import components from './components'
import directives from './directives'
import 'virtual:svg-icons-register'

const app = createApp(App)
app.use(router)
app.use(pinia)
app.use(components)
app.use(directives)
useREM()
useTheme()

app.mount('#app')
